package com.shuziren.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shuziren.abnormal.CustomException;
import com.shuziren.domain.CandidateEntity;

import com.shuziren.domain.dto.CandidateAddDto;
import com.shuziren.domain.dto.CandidateSelectDto;
import com.shuziren.domain.dto.CandidateUpdateDto;

public interface CandidateService extends IService<CandidateEntity> {

    public Page<CandidateEntity> selectPage(CandidateSelectDto candidateDto);

    public boolean addCandidate(CandidateAddDto candidateAddDto) throws CustomException;

    public boolean updateCandidate(CandidateUpdateDto candidateUpdateDto );



//
}
